home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer 2.0 / Internet Surfer 2.0 (Wayzata Technology) (1996).iso / pc / text / mac / faqs.413 < prev    next >
Text File  |  1996-02-12  |  28KB  |  683 lines

  1. Frequently Asked Questions (FAQS);faqs.413
  2.  
  3.  
  4.  
  5. This FAQ is for programming and development-related issues for OS/2
  6. 2.0.  It is freely distributable.  Direct all responses and questions
  7. to bjaspan@athena.mit.edu.  Mention of a product does not constitute
  8. an endorsement.  Answers to questions closer to the bottom of the list
  9. may rely on information given in prior answers.  Customers outside the
  10. United States should not necessarily rely on 800 telephone numbers,
  11. part numbers, or upgrade policies contained in this list; all prices
  12. are listed in United Stated dollars unless otherwise specified.
  13. PLEASE CONTRIBUTE ANY INFORMATION YOU CAN.
  14.  
  15. Many of the answers below refer to anonymous ftp from FTP-OS2.NMSU.EDU
  16. (128.123.35.151).  The name 'ftp-os2' is used as a shorthand to refer
  17. to this machine.
  18.  
  19. Release Notes: This is a reposting of version 1.3, as I have not had
  20. time to create a new version recently.
  21.  
  22. Questions addressed in this release:
  23.     (a * indicates that no answer is available; all answers are
  24.     currently incomplete)
  25.  
  26. 1.  Languages, Compilers, Debuggers
  27. ----------------------------------------------------------------------
  28.  
  29. (1.1)    What programming languages come with OS/2 2.0?
  30. (1.2)    What C/C++ development environments are available?
  31. (1.3)    What are the differences between the two available versions of
  32.     GNU C?
  33. (1.4)    How can I view the GNU C documentation?
  34. (1.5)    What other programming languages are available for OS/2?  (Esp.
  35.         inexpensive ones.)
  36. (1.6)    Which of these compilers can be used to generate PM apps?
  37. (1.7)    What is REXX?  How do I write and run a REXX program?
  38. (1.8)    What debuggers are available for OS/2?
  39. (1.9)*    Where can I get documentation on the OBJ/LIB/EXE format used
  40.     by OS/2 2.0?
  41. (1.10)*    Please summarize this information, and tell me what I need to
  42.     do OS/2 development.
  43. (1.11)  GCC/2 crashes with a trap when I try to compile a program.  Why?
  44.  
  45. 2.  Tools, Toolkits, Accessories
  46. ----------------------------------------------------------------------
  47.  
  48. (2.1)    What programming editors are available for OS/2?
  49. (2.2)    What programming tools/toolkits/accessories are available for OS/2?
  50. (2.3)    What GNU tools are available and where can I find them?
  51. (2.4)    Is a socket library available?  How can I use it?
  52.  
  53. 3.  Programming, Porting
  54. ----------------------------------------------------------------------
  55.  
  56. (3.1)    How can I recompile public domain/shareware source code for OS/2?
  57. (3.2)*    How can I port my DOS program to OS/2?
  58. (3.3)*    How can I port my Windows program to OS/2?
  59. (3.4)*    Is OS/2 suitable for real time programs?
  60. (3.5)    How do I write an OS/2 device driver?
  61. (3.6)    How can I simulate (Unix feature) under OS/2?
  62.     (a)* fork
  63.     (b)* fork/exec
  64.     (c) select()
  65.     (d)* job control
  66. (3.7)*    How does programming PM compare to programming X?
  67. (3.8)    Why doesn't printf() produce output when I expect it to?
  68.  
  69. 4.  Documentation, Help
  70. ----------------------------------------------------------------------
  71.  
  72. (4.1)    Where can I get information on OS/2 APIs and programming?
  73. (4.2)    Where can I get sample code?
  74. (4.3)    Are there any OS/2 programming classes or seminars?
  75. (4.4)    What are good reference books for programming in OS/2 and PM?
  76. (4.5)    What are the OS/2 redbooks, and how do I get them?
  77.  
  78. 5.  Miscellaneous
  79. ----------------------------------------------------------------------
  80. (5.1)    What is available for multimedia programming under OS/2?
  81. (5.2)*    What is available for AI/neural net programming under OS/2?
  82.  
  83. ======================================================================
  84.  
  85. 1.  Languages, Compilers, Debuggers
  86. ----------------------------------------------------------------------
  87.  
  88. (1.1)    What programming languages come with OS/2 2.0?
  89.  
  90. The original BASIC and BASICA (for systems with BASIC in ROM), DOS's
  91. QBASIC, and OS/2's REXX come with OS/2 2.0.  See question #1.7 for
  92. information on REXX.
  93.  
  94. (1.2)    What C/C++ development environments are available?
  95.  
  96. Many companies offer C or C++ compilers.  The following list is almost
  97. guaranteed to be incomplete and somewhat inaccurate.
  98.  
  99. IBM Workset/2, 1-800-3-IBM-OS2, $895.  Includes the C Set/2 compiler,
  100. the IPMD multithreaded PM debugger, the Workframe/2 development
  101. environment, and the Developer's Toolkit (utilities and online
  102. documentation).  These pieces are also available separately.  The full
  103. product announcement is available on ftp-os2.  Bug reports for C Set/2
  104. can be mailed to cset2@vnet.ibm.com, for Workframe/2 to
  105. workframe@vnet.ibm.com and will go straight to the developers.  NOTE:
  106. Workset/2 was available at a promotional rate of $295 in the US and
  107. $399 in Canada, but the originally announced end dates have passed.  I
  108. do not know if the promotion has been extended, so I assume it has
  109. not.
  110.  
  111. Watcom C 9.0, (519) 886-3700.
  112.  
  113. JPI C and C++, (415) 967-3200 (USA), +44 234 267500 (UK/Europe), $180.
  114.  
  115. Glockenspiel C++, (+353)-1-733166.
  116.  
  117. Microway C++, $595.
  118.  
  119. GNU C.  Two flavors of the GNU C compiler are available, both on
  120. ftp-os2.  GCC/2, based on GNU C 2.2.2, is in /pub/os2/2.0/programming/
  121. gcc2-2.2.2, and emx/gcc is in /pub/os2/2.0/programming/emx-0.8d.  See
  122. question #1.3 for information on the differences between the two.
  123.  
  124. (1.3)    What are the differences between the two available versions of
  125.     GNU C?
  126.  
  127. The two versions of GNU C that are available were ported to OS/2 with
  128. different goals and philosophies in mind and therefore have different
  129. characteristics.  However, both systems include a fairly complete C
  130. library and can be used to compile useful programs, although their
  131. support of Unix-specific semantics differs.  Furthermore, both systems
  132. are being actively developed and are constantly improving.
  133.  
  134. The goal of GCC/2 is to create a pure, freely redistributable OS/2 2.0
  135. development environment with no extra baggage for backwards
  136. compatibility; it is based on the assumption that DOS will die and is
  137. not worth worrying about.  It is based on GNU C 2.2.2, supports C and
  138. C++, and can create PM programs.  It produces "native" 32 bit .OBJ
  139. files that are linked with OS/2's LINK386.EXE, and can be linked
  140. together with .OBJ files produced by IBM C Set/2 and other compatible
  141. compilers.  The mailing list os2gcc@charon.mit.edu exists for
  142. discussion of this port; send mail to os2gcc-request@charon.mit.edu
  143. for subscription information.
  144.  
  145. emx/gcc 0.8d, also based on GNU C 2.1, supports only C and can create
  146. PM programs.  (emx/g++ is now available in beta release, and will
  147. eventually be added to emx/gcc.)  emx's goal is to make porting Unix
  148. programs easier by emulating Unix semantics as closely as possible.
  149. It produces programs that can run both under OS/2 using EMX.DLL and
  150. under DOS using the emx DOS extender.  emx/gcc uses standard Unix
  151. development tools like ld and nm, and attempts to support Unix-isms
  152. like select().  A version of gdb exists that can debug emx/gcc
  153. programs.  An emx-related mailing list exists; send mail to
  154. LISTSERV@ludd.luth.se with a subject of "help" for subscription
  155. information.  (Note that this is a *NEW* address for the emx
  156. discussion list.)
  157.  
  158. (1.4)    How can I view the GNU C documentation?
  159.  
  160. GNU C/C++ comes with documentation from the Free Software Foundation
  161. in texinfo (.texi) format.  This documentation is about gcc in
  162. general, and has no OS/2-specific information.
  163.  
  164. All utilities needed to compile/view/tex the texinfo files are readily
  165. available for OS/2.  The GNU texinfo package, available on ftp-os2 in
  166. pub/os2/all/gnu/gnuinfo.zoo, includes makeinfo.exe for compiling
  167. texinfo, info.exe for viewing them, and texinfo.tex and texindex.exe
  168. for TeXing them.
  169.  
  170. An ASCII text version of the gcc documentation is also available on
  171. ftp-os2, in the file pub/os2/2.0/gnu/gcc21/gcctxt.zoo.
  172.  
  173. (1.5)    What other programming languages are available for OS/2?  (Esp.
  174.         inexpensive ones.)
  175.  
  176. Virtually all of them: Assembler, COBOL, Pascal, Fortran, Smalltalk,
  177. Modula-2, LISP, Forth, Perl, and more.  The OS/2 Tools Guide on
  178. ftp-os2 (pub/os2/all/info/tinf26.zoo) contains information on these
  179. and more.
  180.  
  181. [Vendors, ftp sites, phone numbers, prices?]
  182.  
  183.     Pascal: Microway ($595), JPI ($180)
  184.     Modula-2: JPI ($180), Stonybrook
  185.     Fortran: Microway ($595), Watcom
  186.     Cobol: IBM Cobol/2
  187.     Smalltalk: Digital Smalltalk/PM V, Parc Place Smalltalk
  188.     Perl 4.0.10: ftp-os2
  189.     LISP: ftp-os2
  190.     XScheme: ftp-os2
  191.     J: ftp-os2
  192.  
  193. (1.6)    Which of these compilers can be used to generate PM apps?
  194.  
  195. IBM C Set/2 can generate PM apps.  Workset/2 includes many sample
  196. programs and the complete on-line reference.
  197.  
  198. GNU C/C++ 2.1 can generate PM apps, and includes a sample program that
  199. does it.  emx/gcc can too, with some limitations (what are they?).
  200.  
  201. Most commercial C and C++ compilers can.  WATCOM C and FORTRAN and all
  202. of JPI's can, too.  You will probably want the IBM Developer's
  203. Toolkit, or similar documentation, however.
  204.  
  205. (1.7)    What is REXX?  How do I write and run a REXX program?
  206.  
  207. REXX is the IBM SAA (Systems Application Architecture) standard,
  208. user-friendly programming language.  It is available for IBM
  209. mainframes, Unix, the Amiga, DOS (Mansfield's Professional REXX),
  210. Windows, and many other platforms.  It has been a part of standard
  211. OS/2 since Version 1.3.  Programs written in REXX that do not use
  212. system-specific libraries are fully portable.
  213.  
  214. OS/2 2.0 comes with an online REXX reference, and printed REXX
  215. documentation is available (Mike Cowlinshaw's REXX book, IBM's twin
  216. guides).  The Usenet group comp.lang.rexx discusses REXX programming.
  217.  
  218. (1.8)    What debuggers are available for OS/2?
  219.  
  220. IPMD, a PM-based debugger, ships with C Set/2.  It is capable of
  221. source- and assembly-level debugging multithreaded 16 bit and 32 bit
  222. OS/2 applications
  223.  
  224. emx comes with gdb, the GNU debugger.
  225.  
  226. There are also several commercial debuggers on the market.  WATCOM C
  227. and FORTRAN come with WVIDEO, a full-screen source or assembly lever
  228. debugger that handles multithreaded 16 and 32 bit OS/2 programs.
  229. Multiscope, others?
  230.  
  231. (1.9)    Where can I get documentation on the OBJ/LIB/EXE format used
  232.     by OS/2 2.0?
  233.  
  234. The .EXE format was described briefly in PC Magazine, Vol 11 No. 12
  235. (June 30, 1992?); it was also described in a 1988 issue.
  236.  
  237. (1.10)*    Please summarize this information, and tell me what I need to
  238.     do OS/2 development.
  239.  
  240. (1.11)  GCC/2 crashes with a trap when I try to compile a program.
  241.     Why?
  242.  
  243. Because you didn't read the README or INSTALL files, probably.  There
  244. are three general reasons GCC/2 will crash:
  245.  
  246.     1.  You did not set up the environment variables in CONFIG.SYS
  247.     properly.  Read doc/INSTALL for instructions.
  248.  
  249.     2.  Some program that gcc expects to be in the PATH is not;
  250.     unfortunately, gcc crashes instead of just printing an error
  251.     message.  You may forgotten to install something, or your PATH
  252.     may be wrong; see above.  Giving gcc the -v option will cause
  253.     it to print each command line as it executes it; this will
  254.     tell you which program is missing.
  255.  
  256.     3.  You are trying to get gcc to link your program for you.
  257.     It cannot because ld does not exist, and so it crashes (see
  258.     item 2).  You must specify -c, -E, or -S on every invokation
  259.     of gcc, and then use LINK386.EXE to create an executable.  See
  260.     the sample makefiles for an example of how to do this.
  261.  
  262. 2.  Tools, Toolkits, Accessories
  263. ----------------------------------------------------------------------
  264.  
  265. (2.1)    What programming editors are available for OS/2?
  266.  
  267. OS/2 2.0 comes with the Enhanced Editor (EPM).
  268.  
  269. GNU Emacs 18.58 is available.  It requires you to have emx installed
  270. on your machine, but it comes with all the emx files you will need.
  271. Emacs is available on ftp-os2 in /pub/os2/2.0/gnu/emacs.  (If you want
  272. to recompile emacs, you will need the full emx distribution; see
  273. question 1.2.)
  274.  
  275. Several public-domain vi clones are available, including elvis, Stevie
  276. and levee.  The MKS Toolkit also includes vi.
  277.  
  278. Many other text editors are available.
  279.  
  280.     Epsilon, by Luguru, (412) 421-5678.  DOS upgrade to OS/2 is
  281.         $90.  This is a character based editor, not a PM app.
  282.  
  283.     QEDIT, Brief, KEDIT, others? [Vendors, phone numbers, prices?]
  284.  
  285. (2.2)    What programming tools/toolkits/accessories are available for OS/2?
  286.  
  287. The IBM Programmer's Toolkit, included in Workset/2, includes many
  288. tools.
  289.  
  290. Borland will soon release ObjectVision for OS/2.  [Details?]
  291.  
  292. The MKS Toolkit, available from MKS ($349 USD, 800-265-2797 or
  293. inquiry@mks.com), has over 160 Unix tools, including Korn shell, tar,
  294. vi, awk, grep, tail, cpio, and so forth.  It also contains a Lex and
  295. Yacc capable of generating C, C++, and Turbo Pascal code.
  296.  
  297. There is a product called ARGO/UX which provides a BSD environment for
  298. OS/2.  [details?]
  299.  
  300. (2.3)    What GNU tools are available and where can I find them?
  301.  
  302. OS/2 1.x versions of most of the standard GNU utilties are available
  303. on various OS/2 ftp sites, and they will work under OS/2 2.0.  Either
  304. gcc or emx/gcc should be able to compile 2.0-specific versions of any
  305. of them; if you port any, please announce it.  emx also comes with a
  306. collection of utilities that are necessary or useful to use it.
  307.  
  308. (2.4)    Is a socket library available?  How can I use it?
  309.  
  310. IBM's TCP/IP 1.2.1 ($200, part #02G6968) includes an optional
  311. Programmer's Toolkit ($500, part #02G6973).  It includes a socket
  312. library, and support for Sun RPC, NCS RPC, and a limited Kerberos
  313. capability.  It requires IBM C Set/2 or another compiler that
  314. understands 16-bit code.
  315.  
  316. FTP Software, Inc., has an OS/2 version of its TCP/TCP product.  They
  317. can be reached at (617) 246-0900 or info@ftp.com.
  318.  
  319. Walt Corey, KZ1F, is porting KA9Q to OS/2 and PM. The current version
  320. of his code is available for ftp from giskard.uthscsa.edu. This is
  321. still a work in progress, with rough edges here and there, and in
  322. particular there's no Ethernet (or anything but async serial, i.e.
  323. SLIP, PPP, and KISS) support yet, though that's high on the priority
  324. list. You can email Walt at kz1f@giskard.uthscsa.edu.
  325.  
  326. If you have the IBM TCP/IP 1.2 base package and IBM C Set/2, you can
  327. use the TCPIPDLL.DLL directly.  A 32 bit socket library interface to
  328. do this for you will be available shortly.  It will also be possible
  329. to call TCP/IP functions from programs generated with gcc.  (Yes, yes,
  330. I know I've been promising this for a while.  I apologize for the
  331. delay; be patient.)
  332.  
  333. 3.  Programming, Porting
  334. ----------------------------------------------------------------------
  335.  
  336. (3.1)    How can I recompile public domain/shareware source code for OS/2?
  337.  
  338. Most publicly available OS/2 programs come with binaries (since there
  339. is currently only one OS/2 architecture).  If you are porting source
  340. code from another system (for example, Unix), you will first need to
  341. acquire a compiler.  See section 1 for information on compilers; in
  342. particular, note that the GNU C compiler is available.
  343.  
  344. You should realize that many publicly available programs have already
  345. been ported to OS/2.  Check the many FTP sites carrying OS/2 programs
  346. before you reinvent any wheels (the OS/2 User's FAQ contains
  347. information on FTP site).
  348.  
  349. (3.2)    How can I port my DOS program to OS/2?
  350. (3.3)    How can I port my Windows program to OS/2?
  351.  
  352. To the first approximation, you don't have to --- OS/2 2.0's DOS
  353. support is excellent, and your DOS program will probably just work;
  354. similarly, OS/2 2.0 supports Windows 3.0 (and soon 3.1) programs.  See
  355. the OS/2 User's FAQ for details.
  356.  
  357. IBM Workset/2 includes Mirrors, a toolkit designed to help port
  358. Windows applications to OS/2.  [Details?]
  359.  
  360. [But this doesn't answer the question...]
  361.  
  362. (3.4)    Is OS/2 suitable for real time programs?
  363. (3.5)    How do I write an OS/2 device driver?
  364.  
  365. There's a book called "Writing OS/2 2.0 Device Drivers in C" from Van
  366. Nostrand-Reinhold, see question 4.5.  There's also IBM's flood of
  367. printed material.
  368.  
  369. (3.6)    How can I simulate (Unix feature) under OS/2?
  370.     (a) fork
  371.     (b) fork/exec
  372.     (c) select
  373.  
  374. In general, you can't.  select() depends heavily on the fact that all
  375. sources and sinks of data originate in the filesystem and are
  376. identified by a coherent set of file descriptors; these assumptions
  377. are not true under OS/2.  For (almost) any particular kind of data
  378. source/sink (files, sockets, pipes) you can achieve most of select()'s
  379. semantics.  A decent solution to this problem requires a C library
  380. that maintains its own array of file descriptors and information on
  381. each one such that it can dispatch to the appropriate module in
  382. response to library calls.  The C libraries delivered with gcc and
  383. emx/gcc will have such functionality in the (possibly near) future,
  384. but don't yet.
  385.  
  386.     (d) job control
  387.  
  388. (3.7)    How does programming PM compare to programming X?
  389.  
  390. Many people have said "PM is much cleaner."  Until I hear from someone
  391. I trust with extensive experience with both (I only know X), however,
  392. this FAQ will take no position.
  393.  
  394. (3.8)    Why doesn't printf() produce output when I expect it to?
  395.  
  396. For historical reasons, most Unix C libraries' stdio default to using
  397. line buffered streams, whereas most DOS and OS/2 C libraries' stdio
  398. default to using fully buffered streams.  ANSI C species that standard
  399. output should be line buffered when connected to an interactive
  400. device, but not all libraries are ANSI compliant.  You can control the
  401. buffering algorithm used for a particular stream with the setvbuf()
  402. function.
  403.  
  404. If you didn't understand that paragraph, read on.
  405.  
  406. printf() is part of the Standard I/O (stdio) library, which uses
  407. buffered streams for file IO.  ANSI C specifies three algorithms for
  408. deciding when to flush the buffer (i.e. when to print buffered data to
  409. the file):
  410.  
  411.     o not buffered.  Data is flushed to the file as soon as
  412.     possible, usually immediately after being received.
  413.     
  414.     o line buffered.  Data is flushed to the file when a newline
  415.     is received (and the newline is also flushed).
  416.  
  417.     o fully buffered.  Data is flushed to the file when the buffer
  418.     is full.
  419.  
  420. Buffered data is always flushed when the stream is closed or when
  421. fflush() is called.  Since standard output is flushed when main()
  422. exits, all data printed with printf() will appear at that time, if it
  423. has not already.  However, ANSI C does not require that a stream be
  424. flushed when scanf() is called on it.  Therefore, if you print to a
  425. fully buffered stream and then request input on it, it is likely that
  426. the input will be read before the printed data appears.
  427.  
  428. You can control the buffering algorithm used for a particular stream
  429. with the setvbuf() function.  For example, the statement
  430. setvbuf(stdout, NULL, _IOLBF, BUFSIZ) sets standard output to be
  431. line-buffered, which is what most Unix programmers expect.  Any decent
  432. C reference will cover all of this material.
  433.  
  434. The gcc 2.1 library will have a line-buffered stdout by default in a
  435. future release.
  436.  
  437. 4.  Documentation, Help
  438. ----------------------------------------------------------------------
  439.  
  440. (4.1)    Where can I get information on OS/2 APIs and programming?
  441.  
  442. The IBM Programmer's Toolkit, included in Workset/2, includes a
  443. complete on-line syscall reference.
  444.  
  445. You can order the seventeen volume IBM OS/2 Technical Library
  446. (possibly at a discount, see question 1.2) and/or order various
  447. volumes individually; the file pub/os2/2.0/info/os2pubs.txt lists all
  448. (many?) of the IBM OS/2-related reference manuals, as of May 20, 1992,
  449. along with ordering information.
  450.  
  451. See question 4.5 for information on printed reference books.
  452.  
  453. (4.2)    Where can I get sample code?
  454.  
  455. There is a lot of sample code included in the IBM Toolkit, and 4
  456. sample programs (with source) included with C Set/2.  GNU C/C++, from
  457. ftp-os2, includes a sample C, C++, and C++ PM program.  The OS/2
  458. Redbooks (see question 4.5) also have some sample code.
  459.  
  460. (4.3)    Are there any OS/2 programming classes or seminars?
  461.  
  462. Yes.  Call IBM at either 1-800-3-IBM-OS2 in U.S. (or the PS/2 Help
  463. Center).  Local IBM branches frequently hold OS/2 classes and
  464. seminars.  I haven't seen third party efforts in this regard, but I
  465. know they exist.
  466.  
  467. See pub/os2/2.0/info/ivleague.txt on ftp-os2 for a list of third-party
  468. support organizations.
  469.  
  470. (4.4)    What are good reference books for programming in OS/2 and PM?
  471.  
  472. Van Nostrand Reinhold publishes a number of books on OS/2 2.0.  Those
  473. that relate to programming are:
  474.  
  475. INTEGRATING APPLICATIONS WITH OS/2 2.0
  476. By William H. Zack
  477. 0-422-01234-9
  478.  
  479. CLIENT SERVER PROGRAMMING WITH OS/2 2.0
  480. By Robert Orfali and Daniel Harkey, IBM Corporation
  481. 0-422-01219-5
  482.  
  483. WRITING OS/2 2.0 DEVICE DRIVERS IN C
  484. By Steven J. Mastrianni; Foreword by John Soyring, IBM Corporation
  485. 0-442-01141-5
  486.  
  487. OS/2 2.0 PRESENTATION MANAGER GPI: A Programming Guide to Text,
  488.     Graphics, And Printing
  489. By Graham C.E. Winn, IBM Corporation
  490. 0-442-00739-6
  491.  
  492. THE COBOL PRESENTATION MANAGER PROGRAMMING GUIDE
  493. By David M. Dill, Consultant
  494. 0-442-01293-4
  495.  
  496. LEARNING TO PROGRAM OS/2 2.0 PRESENTATION MANAGER BY EXAMPLE: Putting
  497.     the Pieces Together
  498. By Stephen Knight, IBM Corportaion
  499. 0-442-01292-6
  500.  
  501. Also see the information about redbooks in answer 4.5.
  502.  
  503. (4.5)    What are the OS/2 redbooks, and how do I get them?
  504.  
  505. IBM publishes so-called "redbooks" on many products, including OS/2
  506. 2.0.  They seem to be a combination of power-user's guides and design
  507. information that may be of use to both users and programmers [I
  508. haven't received my copies yet, so I cannot say for sure.]  These are
  509. usually intended only for special IBM customers and contain
  510. documentation that is generally unavailable anywhere else.  You can
  511. order these books directly from IBM (see below).  All of the following
  512. names are implicitly preceeded by "OS/2 Version 2.0."
  513.  
  514.  Volume 1: Control Program: GG24-3730, $4.15
  515.  
  516.    Technical information on Memory Management, Task Mangement,
  517.    Support, Installation Considerations, Hardware Considerations, Boot
  518.    Manager, National Language Considerations, Intel 386 architecture,
  519.    Channel Architecture and SCSI.  Documents config.sys.
  520.  
  521.  Volume 2: DOS and Windows Environment, GG24-3731, $6.20
  522.  
  523.    MVDM,8086 Emulation,MVDM DOS emulation, Device Drivers, Memory
  524.    Extender Support, Installing and Migrating Applications, Windows
  525.    Applications, DPMI, Running DOS apps,DOS settings, VMB.
  526.  
  527.  Volume 3:  PM and Workplace Shell GG24-3732, $3.65
  528.  
  529.    Available now, but I don't know precisely what's in it.
  530.  
  531.  Volume 4: Application Development GG24-3774, $5.25
  532.  
  533.    Technical programming info (includes list in C) Overview,
  534.    Object-Oriented Apps, PM application model, flat memory model,
  535.    building PM app, Workplace AOAShell and System Object Model, Direct
  536.    Manipulation (Drag/drop), PM resources, Multitasking
  537.    Considerations, SAA CUA considerations, App Migration, Mixing 16
  538.    and 32 bit application modules, compiling and link editing (SOM),
  539.    Adding Online Help, Problem Determination, Managing Development,
  540.    Naming conventions.
  541.  
  542.  Volume 5: Print Subsystem, GG24-3775, $5.20
  543.  
  544.    Not Available yet.
  545.  
  546. The special part number GBOF-2254 is for all currently available
  547. volumes (presently 1-4).
  548.  
  549. ORDERING INFORMATION:
  550.  
  551. The OS/2 2.0 Redbooks are available from IBM's TeleServices customer
  552. support number.  The number is 1-800-7654-IBM (1-800-765-4426).  You
  553. can pay by credit card or mail in a check after calling.  The order
  554. will take about 2 weeks but can be sped up by paying for faster
  555. shipping.
  556.  
  557. You can also order the redbooks from your local IBM Branch Office
  558. library.  Some possibly useful phone numbers are included here.
  559.  
  560.     IBM Central Library, Los Angeles CA: (213) 621-6710
  561.         P.O. Box 60737
  562.         Los Angeles, CA 90060
  563.     Canada: (800) 465-1234, ext 4205 ($33.52)
  564.     UK: (0256) 478166, (#36.51, credit cards accepted)
  565.     Australia (Victoria): 698-1234 ($46.80 A)
  566.            IBM Australia
  567.                  The Library
  568.                  211 Sturt Street
  569.                  South Melbourne, 3205
  570.                  Att: Kate Seeley
  571.     Denmark: 33 32 40 55 (dkk 310)
  572.  
  573. 5.  Miscellaneous
  574. ----------------------------------------------------------------------
  575.  
  576. (5.1)    What is available for multimedia programming under OS/2?
  577.  
  578. The OS/2 2.0 Multimedia package is now available.  Call the
  579. IBM Multimedia office at (800) 426-9402 ext. 150.
  580.  
  581. (5.2)    What is available for AI/neural net programming under OS/2?
  582.  
  583. LISP and XScheme are available from hobbes.  There are also some
  584. AI/neural net tools listed in tinf26.zoo.
  585. --
  586. Barry Jaspan, bjaspan@mit.edu
  587. Xref: bloom-picayune.mit.edu comp.os.msdos.pcgeos:2041 news.answers:4686
  588. Newsgroups: comp.os.msdos.pcgeos,news.answers
  589. Path: bloom-picayune.mit.edu!enterpoop.mit.edu!news.media.mit.edu!micro-heart-of-gold.mit.edu!news.bbn.com!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!dtaylor
  590. From: dtaylor@magnus.acs.ohio-state.edu (Douglas A Taylor)
  591. Subject: PC/GEOS FAQ List part 1/3 -- General questions
  592. Message-ID: <1992Dec17.131311.17854@magnus.acs.ohio-state.edu>
  593. Followup-To: comp.os.msdos.pcgeos
  594. Summary: PC/GEOS is a GUI (Graphical User Interface) developed by
  595.          GeoWorks.  It runs on top of MS (or DR) DOS and provides
  596.          a multitasking, multithreaded environment for any DOS
  597.          machine with at least 512k of RAM and a hard disk.
  598. Sender: news@magnus.acs.ohio-state.edu
  599. Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
  600. Reply-To: doug-taylor+@osu.edu
  601. Organization: The Ohio State University
  602. Date: Thu, 17 Dec 1992 13:13:11 GMT
  603. Approved: news-answers-request@MIT.Edu
  604. Lines: 354
  605.  
  606. Archive-name: pcgeos-faq/part1
  607. Last-modified: modified September 25, 1992
  608.  
  609. The most recent version of this file can be found at any news.answers
  610. archive site.  One such site is pit-manager.mit.edu, in the
  611. /pub/usenet/news.answers subdirectory, using the archive name
  612. pcgeos-faq.  Please send comments, suggestions, or corrections to
  613. doug-taylor+@osu.edu.
  614.  
  615. I can't take credit for what's in this list of Q's & A's.  I compiled
  616. it from what I read in this newsgroup, in the manual and in computer
  617. magazines.  If you ask a good question or provide a good answer, you
  618. might well see it included in this list.  Items marked with a pound
  619. sign (#) have been changed or added since the last version.
  620.  
  621. DISCLAIMER:  The information in this article does not necessarily
  622. represent the official position of Geoworks in any way.  In fact, I
  623. have no relation to Geoworks other than that of satisfied customer.
  624.  
  625. ----
  626.  
  627. Q:  What is PC/GEOS?
  628.  
  629. A:  PC/GEOS is a GUI (Graphical User Interface) developed by Geoworks
  630.     (formerly Berkeley Softworks).  It runs on top of the MS-DOS
  631.     operating system.  It provides a fully pre-emptive multitasking,
  632.     multithreaded environment for any DOS machine (8088 through 80486)
  633.     with 512k of memory and a hard drive.  It also provides virtual
  634.     memory for its applications (ie, your disk space can be treated
  635.     like a lot of slow RAM), and, from what I'm told, applications
  636.     written for PC/GEOS are not bound by the MS-DOS 640k barrier.
  637.  
  638.     Geoworks Ensemble, or GWE, is a suite of programs which run under
  639.     the PC/GEOS GUI.  The latest version is 1.2.  There is also
  640.     Geoworks Pro, which includes some enhancements over GWE 1.2 and
  641.     includes the DOS spreadsheet Quattro Pro SE from Borland.  GWE
  642.     Lite is a subset of the GWE suite of apps which comes bundled with
  643.     many computer systems.
  644.  
  645. Q:  Is PC/GEOS a real OS?
  646.  
  647. A:  It certainly is a real OS.  DOS is only used for the file system
  648.     support.  BTW, many people consider MS Windows to be a real OS
  649.     too. It mostly depends on who's trying to sell you what.  :-)
  650.     PC/GEOS is one of the first (if not the first to ship) object
  651.     oriented OS's.  PC/GEOS is a fully pre-emptive multi-threaded,
  652.     multi-tasking OS designed to run on everything from an original
  653.     IBM PC XT to the latest barn-burning i486 boxes.
  654.  
  655. Q:  Is PC/GEOS an alternative to Windows?
  656.  
  657. A:  That depends on what you mean by "alternative".  It won't run
  658.     Windows applications, but it will provide you with a lot of
  659.     functionality that Windows won't, especially if you have a small
  660.     machine (< 80386 cpu, < 2 meg RAM).
  661.  
  662. Q:  So where do I get a copy of PC/GEOS?  Is it shareware?
  663.  
  664. A:  No, it's not shareware.  You can get it from pretty much any
  665.     MS-DOS software retailer.  Pick up a copy of PC Magazine or Byte
  666.     and flip through the ads.  Prices range from ~$115.00 (at
  667.     FastMicro) on up.
  668.  
  669. Q:  Where can I get a demo version of PC/GEOS?
  670.  
  671. A:  The same place you can get GWE -- through a software dealer.  It
  672.     costs $9.95, which goes towards the price of the full package
  673.     should you decide to buy it.  The GWE demo will let you do
  674.     everything except save to disk.
  675.  
  676. #Q:  When is PC/GEOS 2.0 going to be launched?
  677. #
  678. #    According to Brian Dougherty (GW's CEO) at the San Diego Computer
  679. #    Fair, v2 will enter testing at the end of this month (Sept '92),
  680. #    and go to beta this Fall.  It sounds like we can expect it to be
  681. #    released (along with a slew of 3rd-party apps) sometime around
  682. #    late 1st quarter of '93.
  683.